package com.patternsbox.behavioral.mediator;

class ConcreteMediator extends Mediator {

	@Override
	public void send(String message, Colleague colleague) {
		if (colleague == colleague1) {
			colleague2.notify(message);
		} else {
			colleague1.notify(message);
		}
	}
}
